package com.dearbinge.data.pojo.commodity.vo;

import com.baomidou.mybatisplus.plugins.Page;
import io.swagger.annotations.ApiParam;

import java.io.Serializable;

/**
 * 一个商品的全部评论
 *
 * @author wes
 * @date 2019/3/25
 */
public class CommodityDetailCommentVO implements Serializable {


    @ApiParam("总评价数")
    private Integer allTotal;

    @ApiParam ("好评数")
    private Integer positiveTotal;

    @ApiParam ("中评数")
    private Integer moderateTotal;

    @ApiParam ("差评数")
    private Integer negativeTotal;

    @ApiParam ("有图的评价数")
    private Integer imagesTotal;

    @ApiParam ("追加的评价数")
    private Integer appendTotal;

    @ApiParam ("评价集")
    private Page page;


    public Integer getPositiveTotal() {
        return positiveTotal;
    }

    public void setPositiveTotal(Integer positiveTotal) {
        this.positiveTotal = positiveTotal;
    }

    public Integer getModerateTotal() {
        return moderateTotal;
    }

    public void setModerateTotal(Integer moderateTotal) {
        this.moderateTotal = moderateTotal;
    }

    public Integer getNegativeTotal() {
        return negativeTotal;
    }

    public void setNegativeTotal(Integer negativeTotal) {
        this.negativeTotal = negativeTotal;
    }

    public Integer getImagesTotal() {
        return imagesTotal;
    }

    public void setImagesTotal(Integer imagesTotal) {
        this.imagesTotal = imagesTotal;
    }

    public Integer getAppendTotal() {
        return appendTotal;
    }

    public void setAppendTotal(Integer appendTotal) {
        this.appendTotal = appendTotal;
    }

    public Integer getAllTotal() {
        return allTotal;
    }

    public void setAllTotal(Integer allTotal) {
        this.allTotal = allTotal;
    }

    public Page getPage() {
        return page;
    }

    public void setPage(Page page) {
        this.page = page;
    }

    @Override
    public String toString() {
        return "CommodityDetailCommentVO{" +
                "allTotal=" + allTotal +
                ", positiveTotal=" + positiveTotal +
                ", moderateTotal=" + moderateTotal +
                ", negativeTotal=" + negativeTotal +
                ", imagesTotal=" + imagesTotal +
                ", appendTotal=" + appendTotal +
                ", page=" + page +
                '}';
    }
}
